import { Module } from '@nestjs/common';
import { TypeOrmModule } from "@nestjs/typeorm";
import { CartEntity } from "./cart.entity";
import { CartController } from "./cart.controller";
import { CartService } from "./cart.service";
import { ProductEntity } from '../product/product.entity';

@Module({
    imports: [TypeOrmModule.forFeature([CartEntity, ProductEntity])],
    controllers: [CartController],
    providers: [CartService],
})
export class CartModule { }
